/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yaps.petstore.util;

import com.yaps.petstore.client.ui.order.model.OrderTableModel;
import com.yaps.petstore.entity.order.Order;
import java.util.List;

/**
 *
 * @author belhassine
 */
public class SharedReferences {
   
    
     public static OrderTableModel orderTableModel = null;
     
     
     public static OrderTableModel getOrderTableModel()
     {
         
         if (orderTableModel == null)
         {
             orderTableModel = new OrderTableModel() {
                private static final long serialVersionUID = 5756141001105021844L;
                
                @Override
                protected List<Order> buildDataList() {
                    return null;
                }
                
                @Override
                public String getDefaultTitle() {
                    return "Watch for new orders containing reptiles";
                }
            };
         }
         
         return orderTableModel;
     }
     
     
     
     
     
}
